package org.jeecg.modules.app.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 产品信息
 * @Author: jeecg-boot
 * @Date:   2024-06-20
 * @Version: V1.0
 */
@Data
@TableName("base_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="base_product对象", description="产品信息")
public class BaseProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
    @ApiModelProperty(value = "产品名称")
    private java.lang.String productName;
	/**设备标识*/
	@Excel(name = "设备标识", width = 15, dictTable = "base_device", dicText = "device_model", dicCode = "id")
	@Dict(dictTable = "base_device", dicText = "device_model", dicCode = "id")
    @ApiModelProperty(value = "设备标识")
    private java.lang.String deviceId;
	/**产品缩略图*/
	@Excel(name = "产品缩略图", width = 15)
    @ApiModelProperty(value = "产品缩略图")
    private java.lang.String productThumbnail;
	/**产品海报*/
	@Excel(name = "产品海报", width = 15)
    @ApiModelProperty(value = "产品海报")
    private java.lang.String productPoster;
	/**产品介绍*/
	@Excel(name = "产品介绍", width = 15)
    @ApiModelProperty(value = "产品介绍")
    private java.lang.String productIntroduction;
	/**产品详细介绍*/
	@Excel(name = "产品详细介绍", width = 15)
    @ApiModelProperty(value = "产品详细介绍")
    private java.lang.String productDetail;
	/**创建者*/
    @ApiModelProperty(value = "创建者")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新者*/
    @ApiModelProperty(value = "更新者")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**删除标记*/
	@Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private java.lang.Integer delFlag;
}
